package dome2;

import dome2.USB;

//通过类来实现接口，实现接口所有抽象方法
public class Mouse implements USB {
    @Override
    public void openDevice() {
        System.out.println("打开鼠标......");
    }

    public void click(){
        System.out.println("点击鼠标......");
    }

    @Override
    public void closeDevice() {
        System.out.println("关闭鼠标......");
    }


}
